<?php
namespace Content\Model;
use Think\Model\RelationModel;
class AttributeModel extends RelationModel {
	protected $_link = array(
        'Type'=>array(
                'mapping_type'    =>self::BELONGS_TO,
                'class_name'    =>'type',
                'foreign_key'=>'typeid',
                'mapping_name' =>'type',
        ),
    );
}
?>